import styled from "styled-components";

export const SearchStyle = styled.div`
  .search-filed {
    width: 156px;
    height: 32px;
    line-height: 32px;
    border-radius: 32px;
    margin-top: 19px;
    background-image: url(${require("@/assets/img/sprite_01.png").default});
    background-position: 0 -100px;
    padding-left: 30px;
  }
  .searchBox {
    width: 260px;
    /* height: 350px; */
    border: 1px solid #bebebe;
    border-radius: 5px;
    position: absolute;
    top: 60px;
    z-index: 999;
    background-color: #fff;
    font-size: 12px;
    .search-user {
      height: 40px;
      line-height: 40px;
      padding-left: 10px;
      font-size: 12px;
      color: #898989;
      border-bottom: 1px solid #bebebe;
    }
    .searchCheck {
      a {
        text-decoration: none;
      }
      :nth-child(2n-1) {
        .order-right {
          background-color: #f9f8f8;
        }
      }
      .order-left {
        width: 30%;
        padding: 10px 0 0 10px;
        i {
          width: 14px;
          height: 15px;
          float: left;
          margin: 2px 4px 0 0;
        }
        .songs {
          background-position: -35px -300px;
        }
        .artists {
          background-position: -50px -300px;
        }
        .albums {
          background-position: -35px -320px;
        }
        .playlists {
          background-position: -50px -320px;
        }
      }
      .order-right {
        border-left: 1px solid #bebebe;
        width: 70%;
        height: 100%;
        .name {
          height: 100%;
          padding: 0 0 0 10px;
          cursor: pointer;
          line-height: 35px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          :hover {
            background-color: #e3e5e7;
          }
        }
      }
    }
  }
`;
